package cn.itsource.zuul1020;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication(scanBasePackages = {"cn.itsource.config", "cn.itsource.zuul1020", "cn.itsource.util"},exclude = DataSourceAutoConfiguration.class)
@EnableEurekaClient
@EnableZuulProxy
@MapperScan("cn.itsource.**.mapper")
public class ZuulApp1020 {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApp1020.class);
    }
}